package com.weitu.worklicense.entity;

import com.weitu.plugin.PageView;

import java.util.ArrayList;
import java.util.List;

/**
 * @author LiMeng
 * date 2017/06/09 10:50
 */
public class LimitLicenseCriteria {
    // 排序字段
    protected String orderByClause;

    // 过滤重复数据
    protected boolean distinct;

    // 查询条件
    protected List<Criteria> oredCriteria;

    protected PageView pageView;

    /** 
     * 构造查询条件
     */
    public LimitLicenseCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /** 
     * 设置排序字段
     * @param orderByClause 排序字段
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /** 
     * 获取排序字段
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /** 
     * 设置过滤重复数据
     * @param distinct 是否过滤重复数据
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /** 
     * 是否过滤重复数据
     */
    public boolean isDistinct() {
        return distinct;
    }

    /** 
     * 获取当前的查询条件实例
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /** 
     * 增加或者的查询条件,用于构建或者查询
     * @param criteria 过滤条件实例
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /** 
     * 创建一个新的或者查询条件
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /** 
     * 创建一个查询条件
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /** 
     * 内部构建查询条件对象
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /** 
     * 清除查询条件
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /** 
     *
     * @param pageView
     */
    public void setPageView(PageView pageView) {
        this.pageView=pageView;
    }

    /** 
     *
     */
    public PageView getPageView() {
        return pageView;
    }

    /**
     * 作业许可_进入受限空间作业许可证表HSE_WL_LIMITLICENSE的基本动态SQL对象.
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition != null) {
                criteria.add(new Criterion(condition));
            }
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value != null) {
                criteria.add(new Criterion(condition, value));
            }
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 != null && value2 != null) {
                criteria.add(new Criterion(condition, value1, value2));
            }
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andDelStateIsNull() {
            addCriterion("delState is null");
            return (Criteria) this;
        }

        public Criteria andDelStateIsNotNull() {
            addCriterion("delState is not null");
            return (Criteria) this;
        }

        public Criteria andDelStateEqualTo(Integer value) {
            addCriterion("delState =", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotEqualTo(Integer value) {
            addCriterion("delState <>", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateGreaterThan(Integer value) {
            addCriterion("delState >", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("delState >=", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateLessThan(Integer value) {
            addCriterion("delState <", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateLessThanOrEqualTo(Integer value) {
            addCriterion("delState <=", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateIn(List<Integer> values) {
            addCriterion("delState in", values, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotIn(List<Integer> values) {
            addCriterion("delState not in", values, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateBetween(Integer value1, Integer value2) {
            addCriterion("delState between", value1, value2, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotBetween(Integer value1, Integer value2) {
            addCriterion("delState not between", value1, value2, "delState");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNull() {
            addCriterion("addUserId is null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNotNull() {
            addCriterion("addUserId is not null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdEqualTo(String value) {
            addCriterion("addUserId =", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotEqualTo(String value) {
            addCriterion("addUserId <>", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThan(String value) {
            addCriterion("addUserId >", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("addUserId >=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThan(String value) {
            addCriterion("addUserId <", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThanOrEqualTo(String value) {
            addCriterion("addUserId <=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLike(String value) {
            addCriterion("addUserId like", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotLike(String value) {
            addCriterion("addUserId not like", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIn(List<String> values) {
            addCriterion("addUserId in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotIn(List<String> values) {
            addCriterion("addUserId not in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdBetween(String value1, String value2) {
            addCriterion("addUserId between", value1, value2, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotBetween(String value1, String value2) {
            addCriterion("addUserId not between", value1, value2, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserNameIsNull() {
            addCriterion("addUserName is null");
            return (Criteria) this;
        }

        public Criteria andAddUserNameIsNotNull() {
            addCriterion("addUserName is not null");
            return (Criteria) this;
        }

        public Criteria andAddUserNameEqualTo(String value) {
            addCriterion("addUserName =", value, "addUserName");
            return (Criteria) this;
        }

        public Criteria andAddUserNameNotEqualTo(String value) {
            addCriterion("addUserName <>", value, "addUserName");
            return (Criteria) this;
        }

        public Criteria andAddUserNameGreaterThan(String value) {
            addCriterion("addUserName >", value, "addUserName");
            return (Criteria) this;
        }

        public Criteria andAddUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("addUserName >=", value, "addUserName");
            return (Criteria) this;
        }

        public Criteria andAddUserNameLessThan(String value) {
            addCriterion("addUserName <", value, "addUserName");
            return (Criteria) this;
        }

        public Criteria andAddUserNameLessThanOrEqualTo(String value) {
            addCriterion("addUserName <=", value, "addUserName");
            return (Criteria) this;
        }

        public Criteria andAddUserNameLike(String value) {
            addCriterion("addUserName like", value, "addUserName");
            return (Criteria) this;
        }

        public Criteria andAddUserNameNotLike(String value) {
            addCriterion("addUserName not like", value, "addUserName");
            return (Criteria) this;
        }

        public Criteria andAddUserNameIn(List<String> values) {
            addCriterion("addUserName in", values, "addUserName");
            return (Criteria) this;
        }

        public Criteria andAddUserNameNotIn(List<String> values) {
            addCriterion("addUserName not in", values, "addUserName");
            return (Criteria) this;
        }

        public Criteria andAddUserNameBetween(String value1, String value2) {
            addCriterion("addUserName between", value1, value2, "addUserName");
            return (Criteria) this;
        }

        public Criteria andAddUserNameNotBetween(String value1, String value2) {
            addCriterion("addUserName not between", value1, value2, "addUserName");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdIsNull() {
            addCriterion("addDeptId is null");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdIsNotNull() {
            addCriterion("addDeptId is not null");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdEqualTo(String value) {
            addCriterion("addDeptId =", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdNotEqualTo(String value) {
            addCriterion("addDeptId <>", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdGreaterThan(String value) {
            addCriterion("addDeptId >", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdGreaterThanOrEqualTo(String value) {
            addCriterion("addDeptId >=", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdLessThan(String value) {
            addCriterion("addDeptId <", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdLessThanOrEqualTo(String value) {
            addCriterion("addDeptId <=", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdLike(String value) {
            addCriterion("addDeptId like", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdNotLike(String value) {
            addCriterion("addDeptId not like", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdIn(List<String> values) {
            addCriterion("addDeptId in", values, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdNotIn(List<String> values) {
            addCriterion("addDeptId not in", values, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdBetween(String value1, String value2) {
            addCriterion("addDeptId between", value1, value2, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdNotBetween(String value1, String value2) {
            addCriterion("addDeptId not between", value1, value2, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptNameIsNull() {
            addCriterion("addDeptName is null");
            return (Criteria) this;
        }

        public Criteria andAddDeptNameIsNotNull() {
            addCriterion("addDeptName is not null");
            return (Criteria) this;
        }

        public Criteria andAddDeptNameEqualTo(String value) {
            addCriterion("addDeptName =", value, "addDeptName");
            return (Criteria) this;
        }

        public Criteria andAddDeptNameNotEqualTo(String value) {
            addCriterion("addDeptName <>", value, "addDeptName");
            return (Criteria) this;
        }

        public Criteria andAddDeptNameGreaterThan(String value) {
            addCriterion("addDeptName >", value, "addDeptName");
            return (Criteria) this;
        }

        public Criteria andAddDeptNameGreaterThanOrEqualTo(String value) {
            addCriterion("addDeptName >=", value, "addDeptName");
            return (Criteria) this;
        }

        public Criteria andAddDeptNameLessThan(String value) {
            addCriterion("addDeptName <", value, "addDeptName");
            return (Criteria) this;
        }

        public Criteria andAddDeptNameLessThanOrEqualTo(String value) {
            addCriterion("addDeptName <=", value, "addDeptName");
            return (Criteria) this;
        }

        public Criteria andAddDeptNameLike(String value) {
            addCriterion("addDeptName like", value, "addDeptName");
            return (Criteria) this;
        }

        public Criteria andAddDeptNameNotLike(String value) {
            addCriterion("addDeptName not like", value, "addDeptName");
            return (Criteria) this;
        }

        public Criteria andAddDeptNameIn(List<String> values) {
            addCriterion("addDeptName in", values, "addDeptName");
            return (Criteria) this;
        }

        public Criteria andAddDeptNameNotIn(List<String> values) {
            addCriterion("addDeptName not in", values, "addDeptName");
            return (Criteria) this;
        }

        public Criteria andAddDeptNameBetween(String value1, String value2) {
            addCriterion("addDeptName between", value1, value2, "addDeptName");
            return (Criteria) this;
        }

        public Criteria andAddDeptNameNotBetween(String value1, String value2) {
            addCriterion("addDeptName not between", value1, value2, "addDeptName");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("addTime is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("addTime is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(String value) {
            addCriterion("addTime =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(String value) {
            addCriterion("addTime <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(String value) {
            addCriterion("addTime >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(String value) {
            addCriterion("addTime >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(String value) {
            addCriterion("addTime <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(String value) {
            addCriterion("addTime <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLike(String value) {
            addCriterion("addTime like", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotLike(String value) {
            addCriterion("addTime not like", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<String> values) {
            addCriterion("addTime in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<String> values) {
            addCriterion("addTime not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(String value1, String value2) {
            addCriterion("addTime between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(String value1, String value2) {
            addCriterion("addTime not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdIsNull() {
            addCriterion("updateDeptId is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdIsNotNull() {
            addCriterion("updateDeptId is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdEqualTo(String value) {
            addCriterion("updateDeptId =", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdNotEqualTo(String value) {
            addCriterion("updateDeptId <>", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdGreaterThan(String value) {
            addCriterion("updateDeptId >", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdGreaterThanOrEqualTo(String value) {
            addCriterion("updateDeptId >=", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdLessThan(String value) {
            addCriterion("updateDeptId <", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdLessThanOrEqualTo(String value) {
            addCriterion("updateDeptId <=", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdLike(String value) {
            addCriterion("updateDeptId like", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdNotLike(String value) {
            addCriterion("updateDeptId not like", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdIn(List<String> values) {
            addCriterion("updateDeptId in", values, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdNotIn(List<String> values) {
            addCriterion("updateDeptId not in", values, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdBetween(String value1, String value2) {
            addCriterion("updateDeptId between", value1, value2, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdNotBetween(String value1, String value2) {
            addCriterion("updateDeptId not between", value1, value2, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptNameIsNull() {
            addCriterion("updateDeptName is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptNameIsNotNull() {
            addCriterion("updateDeptName is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptNameEqualTo(String value) {
            addCriterion("updateDeptName =", value, "updateDeptName");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptNameNotEqualTo(String value) {
            addCriterion("updateDeptName <>", value, "updateDeptName");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptNameGreaterThan(String value) {
            addCriterion("updateDeptName >", value, "updateDeptName");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptNameGreaterThanOrEqualTo(String value) {
            addCriterion("updateDeptName >=", value, "updateDeptName");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptNameLessThan(String value) {
            addCriterion("updateDeptName <", value, "updateDeptName");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptNameLessThanOrEqualTo(String value) {
            addCriterion("updateDeptName <=", value, "updateDeptName");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptNameLike(String value) {
            addCriterion("updateDeptName like", value, "updateDeptName");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptNameNotLike(String value) {
            addCriterion("updateDeptName not like", value, "updateDeptName");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptNameIn(List<String> values) {
            addCriterion("updateDeptName in", values, "updateDeptName");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptNameNotIn(List<String> values) {
            addCriterion("updateDeptName not in", values, "updateDeptName");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptNameBetween(String value1, String value2) {
            addCriterion("updateDeptName between", value1, value2, "updateDeptName");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptNameNotBetween(String value1, String value2) {
            addCriterion("updateDeptName not between", value1, value2, "updateDeptName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNull() {
            addCriterion("updateUserId is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNotNull() {
            addCriterion("updateUserId is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdEqualTo(String value) {
            addCriterion("updateUserId =", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotEqualTo(String value) {
            addCriterion("updateUserId <>", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThan(String value) {
            addCriterion("updateUserId >", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("updateUserId >=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThan(String value) {
            addCriterion("updateUserId <", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThanOrEqualTo(String value) {
            addCriterion("updateUserId <=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLike(String value) {
            addCriterion("updateUserId like", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotLike(String value) {
            addCriterion("updateUserId not like", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIn(List<String> values) {
            addCriterion("updateUserId in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotIn(List<String> values) {
            addCriterion("updateUserId not in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdBetween(String value1, String value2) {
            addCriterion("updateUserId between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotBetween(String value1, String value2) {
            addCriterion("updateUserId not between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameIsNull() {
            addCriterion("updateUserName is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameIsNotNull() {
            addCriterion("updateUserName is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameEqualTo(String value) {
            addCriterion("updateUserName =", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotEqualTo(String value) {
            addCriterion("updateUserName <>", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameGreaterThan(String value) {
            addCriterion("updateUserName >", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("updateUserName >=", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameLessThan(String value) {
            addCriterion("updateUserName <", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameLessThanOrEqualTo(String value) {
            addCriterion("updateUserName <=", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameLike(String value) {
            addCriterion("updateUserName like", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotLike(String value) {
            addCriterion("updateUserName not like", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameIn(List<String> values) {
            addCriterion("updateUserName in", values, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotIn(List<String> values) {
            addCriterion("updateUserName not in", values, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameBetween(String value1, String value2) {
            addCriterion("updateUserName between", value1, value2, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotBetween(String value1, String value2) {
            addCriterion("updateUserName not between", value1, value2, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(String value) {
            addCriterion("updateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(String value) {
            addCriterion("updateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(String value) {
            addCriterion("updateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("updateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(String value) {
            addCriterion("updateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(String value) {
            addCriterion("updateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLike(String value) {
            addCriterion("updateTime like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotLike(String value) {
            addCriterion("updateTime not like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<String> values) {
            addCriterion("updateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<String> values) {
            addCriterion("updateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(String value1, String value2) {
            addCriterion("updateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(String value1, String value2) {
            addCriterion("updateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andApplyDeptIdIsNull() {
            addCriterion("applyDeptId is null");
            return (Criteria) this;
        }

        public Criteria andApplyDeptIdIsNotNull() {
            addCriterion("applyDeptId is not null");
            return (Criteria) this;
        }

        public Criteria andApplyDeptIdEqualTo(String value) {
            addCriterion("applyDeptId =", value, "applyDeptId");
            return (Criteria) this;
        }

        public Criteria andApplyDeptIdNotEqualTo(String value) {
            addCriterion("applyDeptId <>", value, "applyDeptId");
            return (Criteria) this;
        }

        public Criteria andApplyDeptIdGreaterThan(String value) {
            addCriterion("applyDeptId >", value, "applyDeptId");
            return (Criteria) this;
        }

        public Criteria andApplyDeptIdGreaterThanOrEqualTo(String value) {
            addCriterion("applyDeptId >=", value, "applyDeptId");
            return (Criteria) this;
        }

        public Criteria andApplyDeptIdLessThan(String value) {
            addCriterion("applyDeptId <", value, "applyDeptId");
            return (Criteria) this;
        }

        public Criteria andApplyDeptIdLessThanOrEqualTo(String value) {
            addCriterion("applyDeptId <=", value, "applyDeptId");
            return (Criteria) this;
        }

        public Criteria andApplyDeptIdLike(String value) {
            addCriterion("applyDeptId like", value, "applyDeptId");
            return (Criteria) this;
        }

        public Criteria andApplyDeptIdNotLike(String value) {
            addCriterion("applyDeptId not like", value, "applyDeptId");
            return (Criteria) this;
        }

        public Criteria andApplyDeptIdIn(List<String> values) {
            addCriterion("applyDeptId in", values, "applyDeptId");
            return (Criteria) this;
        }

        public Criteria andApplyDeptIdNotIn(List<String> values) {
            addCriterion("applyDeptId not in", values, "applyDeptId");
            return (Criteria) this;
        }

        public Criteria andApplyDeptIdBetween(String value1, String value2) {
            addCriterion("applyDeptId between", value1, value2, "applyDeptId");
            return (Criteria) this;
        }

        public Criteria andApplyDeptIdNotBetween(String value1, String value2) {
            addCriterion("applyDeptId not between", value1, value2, "applyDeptId");
            return (Criteria) this;
        }

        public Criteria andApplyDeptNameIsNull() {
            addCriterion("applyDeptName is null");
            return (Criteria) this;
        }

        public Criteria andApplyDeptNameIsNotNull() {
            addCriterion("applyDeptName is not null");
            return (Criteria) this;
        }

        public Criteria andApplyDeptNameEqualTo(String value) {
            addCriterion("applyDeptName =", value, "applyDeptName");
            return (Criteria) this;
        }

        public Criteria andApplyDeptNameNotEqualTo(String value) {
            addCriterion("applyDeptName <>", value, "applyDeptName");
            return (Criteria) this;
        }

        public Criteria andApplyDeptNameGreaterThan(String value) {
            addCriterion("applyDeptName >", value, "applyDeptName");
            return (Criteria) this;
        }

        public Criteria andApplyDeptNameGreaterThanOrEqualTo(String value) {
            addCriterion("applyDeptName >=", value, "applyDeptName");
            return (Criteria) this;
        }

        public Criteria andApplyDeptNameLessThan(String value) {
            addCriterion("applyDeptName <", value, "applyDeptName");
            return (Criteria) this;
        }

        public Criteria andApplyDeptNameLessThanOrEqualTo(String value) {
            addCriterion("applyDeptName <=", value, "applyDeptName");
            return (Criteria) this;
        }

        public Criteria andApplyDeptNameLike(String value) {
            addCriterion("applyDeptName like", value, "applyDeptName");
            return (Criteria) this;
        }

        public Criteria andApplyDeptNameNotLike(String value) {
            addCriterion("applyDeptName not like", value, "applyDeptName");
            return (Criteria) this;
        }

        public Criteria andApplyDeptNameIn(List<String> values) {
            addCriterion("applyDeptName in", values, "applyDeptName");
            return (Criteria) this;
        }

        public Criteria andApplyDeptNameNotIn(List<String> values) {
            addCriterion("applyDeptName not in", values, "applyDeptName");
            return (Criteria) this;
        }

        public Criteria andApplyDeptNameBetween(String value1, String value2) {
            addCriterion("applyDeptName between", value1, value2, "applyDeptName");
            return (Criteria) this;
        }

        public Criteria andApplyDeptNameNotBetween(String value1, String value2) {
            addCriterion("applyDeptName not between", value1, value2, "applyDeptName");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdIsNull() {
            addCriterion("applyUserId is null");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdIsNotNull() {
            addCriterion("applyUserId is not null");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdEqualTo(String value) {
            addCriterion("applyUserId =", value, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdNotEqualTo(String value) {
            addCriterion("applyUserId <>", value, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdGreaterThan(String value) {
            addCriterion("applyUserId >", value, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("applyUserId >=", value, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdLessThan(String value) {
            addCriterion("applyUserId <", value, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdLessThanOrEqualTo(String value) {
            addCriterion("applyUserId <=", value, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdLike(String value) {
            addCriterion("applyUserId like", value, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdNotLike(String value) {
            addCriterion("applyUserId not like", value, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdIn(List<String> values) {
            addCriterion("applyUserId in", values, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdNotIn(List<String> values) {
            addCriterion("applyUserId not in", values, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdBetween(String value1, String value2) {
            addCriterion("applyUserId between", value1, value2, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdNotBetween(String value1, String value2) {
            addCriterion("applyUserId not between", value1, value2, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameIsNull() {
            addCriterion("applyUserName is null");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameIsNotNull() {
            addCriterion("applyUserName is not null");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameEqualTo(String value) {
            addCriterion("applyUserName =", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameNotEqualTo(String value) {
            addCriterion("applyUserName <>", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameGreaterThan(String value) {
            addCriterion("applyUserName >", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("applyUserName >=", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameLessThan(String value) {
            addCriterion("applyUserName <", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameLessThanOrEqualTo(String value) {
            addCriterion("applyUserName <=", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameLike(String value) {
            addCriterion("applyUserName like", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameNotLike(String value) {
            addCriterion("applyUserName not like", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameIn(List<String> values) {
            addCriterion("applyUserName in", values, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameNotIn(List<String> values) {
            addCriterion("applyUserName not in", values, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameBetween(String value1, String value2) {
            addCriterion("applyUserName between", value1, value2, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameNotBetween(String value1, String value2) {
            addCriterion("applyUserName not between", value1, value2, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameIsNull() {
            addCriterion("deviceName is null");
            return (Criteria) this;
        }

        public Criteria andDeviceNameIsNotNull() {
            addCriterion("deviceName is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceNameEqualTo(String value) {
            addCriterion("deviceName =", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotEqualTo(String value) {
            addCriterion("deviceName <>", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameGreaterThan(String value) {
            addCriterion("deviceName >", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameGreaterThanOrEqualTo(String value) {
            addCriterion("deviceName >=", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameLessThan(String value) {
            addCriterion("deviceName <", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameLessThanOrEqualTo(String value) {
            addCriterion("deviceName <=", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameLike(String value) {
            addCriterion("deviceName like", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotLike(String value) {
            addCriterion("deviceName not like", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameIn(List<String> values) {
            addCriterion("deviceName in", values, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotIn(List<String> values) {
            addCriterion("deviceName not in", values, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameBetween(String value1, String value2) {
            addCriterion("deviceName between", value1, value2, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotBetween(String value1, String value2) {
            addCriterion("deviceName not between", value1, value2, "deviceName");
            return (Criteria) this;
        }

        public Criteria andWorkContentIsNull() {
            addCriterion("workContent is null");
            return (Criteria) this;
        }

        public Criteria andWorkContentIsNotNull() {
            addCriterion("workContent is not null");
            return (Criteria) this;
        }

        public Criteria andWorkContentEqualTo(String value) {
            addCriterion("workContent =", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentNotEqualTo(String value) {
            addCriterion("workContent <>", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentGreaterThan(String value) {
            addCriterion("workContent >", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentGreaterThanOrEqualTo(String value) {
            addCriterion("workContent >=", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentLessThan(String value) {
            addCriterion("workContent <", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentLessThanOrEqualTo(String value) {
            addCriterion("workContent <=", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentLike(String value) {
            addCriterion("workContent like", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentNotLike(String value) {
            addCriterion("workContent not like", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentIn(List<String> values) {
            addCriterion("workContent in", values, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentNotIn(List<String> values) {
            addCriterion("workContent not in", values, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentBetween(String value1, String value2) {
            addCriterion("workContent between", value1, value2, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentNotBetween(String value1, String value2) {
            addCriterion("workContent not between", value1, value2, "workContent");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdIsNull() {
            addCriterion("contractorAuditId is null");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdIsNotNull() {
            addCriterion("contractorAuditId is not null");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdEqualTo(String value) {
            addCriterion("contractorAuditId =", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdNotEqualTo(String value) {
            addCriterion("contractorAuditId <>", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdGreaterThan(String value) {
            addCriterion("contractorAuditId >", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdGreaterThanOrEqualTo(String value) {
            addCriterion("contractorAuditId >=", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdLessThan(String value) {
            addCriterion("contractorAuditId <", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdLessThanOrEqualTo(String value) {
            addCriterion("contractorAuditId <=", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdLike(String value) {
            addCriterion("contractorAuditId like", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdNotLike(String value) {
            addCriterion("contractorAuditId not like", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdIn(List<String> values) {
            addCriterion("contractorAuditId in", values, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdNotIn(List<String> values) {
            addCriterion("contractorAuditId not in", values, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdBetween(String value1, String value2) {
            addCriterion("contractorAuditId between", value1, value2, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdNotBetween(String value1, String value2) {
            addCriterion("contractorAuditId not between", value1, value2, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorNameIsNull() {
            addCriterion("contractorName is null");
            return (Criteria) this;
        }

        public Criteria andContractorNameIsNotNull() {
            addCriterion("contractorName is not null");
            return (Criteria) this;
        }

        public Criteria andContractorNameEqualTo(String value) {
            addCriterion("contractorName =", value, "contractorName");
            return (Criteria) this;
        }

        public Criteria andContractorNameNotEqualTo(String value) {
            addCriterion("contractorName <>", value, "contractorName");
            return (Criteria) this;
        }

        public Criteria andContractorNameGreaterThan(String value) {
            addCriterion("contractorName >", value, "contractorName");
            return (Criteria) this;
        }

        public Criteria andContractorNameGreaterThanOrEqualTo(String value) {
            addCriterion("contractorName >=", value, "contractorName");
            return (Criteria) this;
        }

        public Criteria andContractorNameLessThan(String value) {
            addCriterion("contractorName <", value, "contractorName");
            return (Criteria) this;
        }

        public Criteria andContractorNameLessThanOrEqualTo(String value) {
            addCriterion("contractorName <=", value, "contractorName");
            return (Criteria) this;
        }

        public Criteria andContractorNameLike(String value) {
            addCriterion("contractorName like", value, "contractorName");
            return (Criteria) this;
        }

        public Criteria andContractorNameNotLike(String value) {
            addCriterion("contractorName not like", value, "contractorName");
            return (Criteria) this;
        }

        public Criteria andContractorNameIn(List<String> values) {
            addCriterion("contractorName in", values, "contractorName");
            return (Criteria) this;
        }

        public Criteria andContractorNameNotIn(List<String> values) {
            addCriterion("contractorName not in", values, "contractorName");
            return (Criteria) this;
        }

        public Criteria andContractorNameBetween(String value1, String value2) {
            addCriterion("contractorName between", value1, value2, "contractorName");
            return (Criteria) this;
        }

        public Criteria andContractorNameNotBetween(String value1, String value2) {
            addCriterion("contractorName not between", value1, value2, "contractorName");
            return (Criteria) this;
        }

        public Criteria andMediumNameIsNull() {
            addCriterion("mediumName is null");
            return (Criteria) this;
        }

        public Criteria andMediumNameIsNotNull() {
            addCriterion("mediumName is not null");
            return (Criteria) this;
        }

        public Criteria andMediumNameEqualTo(String value) {
            addCriterion("mediumName =", value, "mediumName");
            return (Criteria) this;
        }

        public Criteria andMediumNameNotEqualTo(String value) {
            addCriterion("mediumName <>", value, "mediumName");
            return (Criteria) this;
        }

        public Criteria andMediumNameGreaterThan(String value) {
            addCriterion("mediumName >", value, "mediumName");
            return (Criteria) this;
        }

        public Criteria andMediumNameGreaterThanOrEqualTo(String value) {
            addCriterion("mediumName >=", value, "mediumName");
            return (Criteria) this;
        }

        public Criteria andMediumNameLessThan(String value) {
            addCriterion("mediumName <", value, "mediumName");
            return (Criteria) this;
        }

        public Criteria andMediumNameLessThanOrEqualTo(String value) {
            addCriterion("mediumName <=", value, "mediumName");
            return (Criteria) this;
        }

        public Criteria andMediumNameLike(String value) {
            addCriterion("mediumName like", value, "mediumName");
            return (Criteria) this;
        }

        public Criteria andMediumNameNotLike(String value) {
            addCriterion("mediumName not like", value, "mediumName");
            return (Criteria) this;
        }

        public Criteria andMediumNameIn(List<String> values) {
            addCriterion("mediumName in", values, "mediumName");
            return (Criteria) this;
        }

        public Criteria andMediumNameNotIn(List<String> values) {
            addCriterion("mediumName not in", values, "mediumName");
            return (Criteria) this;
        }

        public Criteria andMediumNameBetween(String value1, String value2) {
            addCriterion("mediumName between", value1, value2, "mediumName");
            return (Criteria) this;
        }

        public Criteria andMediumNameNotBetween(String value1, String value2) {
            addCriterion("mediumName not between", value1, value2, "mediumName");
            return (Criteria) this;
        }

        public Criteria andDangerFactorIsNull() {
            addCriterion("dangerFactor is null");
            return (Criteria) this;
        }

        public Criteria andDangerFactorIsNotNull() {
            addCriterion("dangerFactor is not null");
            return (Criteria) this;
        }

        public Criteria andDangerFactorEqualTo(String value) {
            addCriterion("dangerFactor =", value, "dangerFactor");
            return (Criteria) this;
        }

        public Criteria andDangerFactorNotEqualTo(String value) {
            addCriterion("dangerFactor <>", value, "dangerFactor");
            return (Criteria) this;
        }

        public Criteria andDangerFactorGreaterThan(String value) {
            addCriterion("dangerFactor >", value, "dangerFactor");
            return (Criteria) this;
        }

        public Criteria andDangerFactorGreaterThanOrEqualTo(String value) {
            addCriterion("dangerFactor >=", value, "dangerFactor");
            return (Criteria) this;
        }

        public Criteria andDangerFactorLessThan(String value) {
            addCriterion("dangerFactor <", value, "dangerFactor");
            return (Criteria) this;
        }

        public Criteria andDangerFactorLessThanOrEqualTo(String value) {
            addCriterion("dangerFactor <=", value, "dangerFactor");
            return (Criteria) this;
        }

        public Criteria andDangerFactorLike(String value) {
            addCriterion("dangerFactor like", value, "dangerFactor");
            return (Criteria) this;
        }

        public Criteria andDangerFactorNotLike(String value) {
            addCriterion("dangerFactor not like", value, "dangerFactor");
            return (Criteria) this;
        }

        public Criteria andDangerFactorIn(List<String> values) {
            addCriterion("dangerFactor in", values, "dangerFactor");
            return (Criteria) this;
        }

        public Criteria andDangerFactorNotIn(List<String> values) {
            addCriterion("dangerFactor not in", values, "dangerFactor");
            return (Criteria) this;
        }

        public Criteria andDangerFactorBetween(String value1, String value2) {
            addCriterion("dangerFactor between", value1, value2, "dangerFactor");
            return (Criteria) this;
        }

        public Criteria andDangerFactorNotBetween(String value1, String value2) {
            addCriterion("dangerFactor not between", value1, value2, "dangerFactor");
            return (Criteria) this;
        }

        public Criteria andProduceUserIdIsNull() {
            addCriterion("produceUserId is null");
            return (Criteria) this;
        }

        public Criteria andProduceUserIdIsNotNull() {
            addCriterion("produceUserId is not null");
            return (Criteria) this;
        }

        public Criteria andProduceUserIdEqualTo(String value) {
            addCriterion("produceUserId =", value, "produceUserId");
            return (Criteria) this;
        }

        public Criteria andProduceUserIdNotEqualTo(String value) {
            addCriterion("produceUserId <>", value, "produceUserId");
            return (Criteria) this;
        }

        public Criteria andProduceUserIdGreaterThan(String value) {
            addCriterion("produceUserId >", value, "produceUserId");
            return (Criteria) this;
        }

        public Criteria andProduceUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("produceUserId >=", value, "produceUserId");
            return (Criteria) this;
        }

        public Criteria andProduceUserIdLessThan(String value) {
            addCriterion("produceUserId <", value, "produceUserId");
            return (Criteria) this;
        }

        public Criteria andProduceUserIdLessThanOrEqualTo(String value) {
            addCriterion("produceUserId <=", value, "produceUserId");
            return (Criteria) this;
        }

        public Criteria andProduceUserIdLike(String value) {
            addCriterion("produceUserId like", value, "produceUserId");
            return (Criteria) this;
        }

        public Criteria andProduceUserIdNotLike(String value) {
            addCriterion("produceUserId not like", value, "produceUserId");
            return (Criteria) this;
        }

        public Criteria andProduceUserIdIn(List<String> values) {
            addCriterion("produceUserId in", values, "produceUserId");
            return (Criteria) this;
        }

        public Criteria andProduceUserIdNotIn(List<String> values) {
            addCriterion("produceUserId not in", values, "produceUserId");
            return (Criteria) this;
        }

        public Criteria andProduceUserIdBetween(String value1, String value2) {
            addCriterion("produceUserId between", value1, value2, "produceUserId");
            return (Criteria) this;
        }

        public Criteria andProduceUserIdNotBetween(String value1, String value2) {
            addCriterion("produceUserId not between", value1, value2, "produceUserId");
            return (Criteria) this;
        }

        public Criteria andProduceUserNameIsNull() {
            addCriterion("produceUserName is null");
            return (Criteria) this;
        }

        public Criteria andProduceUserNameIsNotNull() {
            addCriterion("produceUserName is not null");
            return (Criteria) this;
        }

        public Criteria andProduceUserNameEqualTo(String value) {
            addCriterion("produceUserName =", value, "produceUserName");
            return (Criteria) this;
        }

        public Criteria andProduceUserNameNotEqualTo(String value) {
            addCriterion("produceUserName <>", value, "produceUserName");
            return (Criteria) this;
        }

        public Criteria andProduceUserNameGreaterThan(String value) {
            addCriterion("produceUserName >", value, "produceUserName");
            return (Criteria) this;
        }

        public Criteria andProduceUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("produceUserName >=", value, "produceUserName");
            return (Criteria) this;
        }

        public Criteria andProduceUserNameLessThan(String value) {
            addCriterion("produceUserName <", value, "produceUserName");
            return (Criteria) this;
        }

        public Criteria andProduceUserNameLessThanOrEqualTo(String value) {
            addCriterion("produceUserName <=", value, "produceUserName");
            return (Criteria) this;
        }

        public Criteria andProduceUserNameLike(String value) {
            addCriterion("produceUserName like", value, "produceUserName");
            return (Criteria) this;
        }

        public Criteria andProduceUserNameNotLike(String value) {
            addCriterion("produceUserName not like", value, "produceUserName");
            return (Criteria) this;
        }

        public Criteria andProduceUserNameIn(List<String> values) {
            addCriterion("produceUserName in", values, "produceUserName");
            return (Criteria) this;
        }

        public Criteria andProduceUserNameNotIn(List<String> values) {
            addCriterion("produceUserName not in", values, "produceUserName");
            return (Criteria) this;
        }

        public Criteria andProduceUserNameBetween(String value1, String value2) {
            addCriterion("produceUserName between", value1, value2, "produceUserName");
            return (Criteria) this;
        }

        public Criteria andProduceUserNameNotBetween(String value1, String value2) {
            addCriterion("produceUserName not between", value1, value2, "produceUserName");
            return (Criteria) this;
        }

        public Criteria andProduceStaffIdIsNull() {
            addCriterion("produceStaffId is null");
            return (Criteria) this;
        }

        public Criteria andProduceStaffIdIsNotNull() {
            addCriterion("produceStaffId is not null");
            return (Criteria) this;
        }

        public Criteria andProduceStaffIdEqualTo(String value) {
            addCriterion("produceStaffId =", value, "produceStaffId");
            return (Criteria) this;
        }

        public Criteria andProduceStaffIdNotEqualTo(String value) {
            addCriterion("produceStaffId <>", value, "produceStaffId");
            return (Criteria) this;
        }

        public Criteria andProduceStaffIdGreaterThan(String value) {
            addCriterion("produceStaffId >", value, "produceStaffId");
            return (Criteria) this;
        }

        public Criteria andProduceStaffIdGreaterThanOrEqualTo(String value) {
            addCriterion("produceStaffId >=", value, "produceStaffId");
            return (Criteria) this;
        }

        public Criteria andProduceStaffIdLessThan(String value) {
            addCriterion("produceStaffId <", value, "produceStaffId");
            return (Criteria) this;
        }

        public Criteria andProduceStaffIdLessThanOrEqualTo(String value) {
            addCriterion("produceStaffId <=", value, "produceStaffId");
            return (Criteria) this;
        }

        public Criteria andProduceStaffIdLike(String value) {
            addCriterion("produceStaffId like", value, "produceStaffId");
            return (Criteria) this;
        }

        public Criteria andProduceStaffIdNotLike(String value) {
            addCriterion("produceStaffId not like", value, "produceStaffId");
            return (Criteria) this;
        }

        public Criteria andProduceStaffIdIn(List<String> values) {
            addCriterion("produceStaffId in", values, "produceStaffId");
            return (Criteria) this;
        }

        public Criteria andProduceStaffIdNotIn(List<String> values) {
            addCriterion("produceStaffId not in", values, "produceStaffId");
            return (Criteria) this;
        }

        public Criteria andProduceStaffIdBetween(String value1, String value2) {
            addCriterion("produceStaffId between", value1, value2, "produceStaffId");
            return (Criteria) this;
        }

        public Criteria andProduceStaffIdNotBetween(String value1, String value2) {
            addCriterion("produceStaffId not between", value1, value2, "produceStaffId");
            return (Criteria) this;
        }

        public Criteria andProduceStaffNameIsNull() {
            addCriterion("produceStaffName is null");
            return (Criteria) this;
        }

        public Criteria andProduceStaffNameIsNotNull() {
            addCriterion("produceStaffName is not null");
            return (Criteria) this;
        }

        public Criteria andProduceStaffNameEqualTo(String value) {
            addCriterion("produceStaffName =", value, "produceStaffName");
            return (Criteria) this;
        }

        public Criteria andProduceStaffNameNotEqualTo(String value) {
            addCriterion("produceStaffName <>", value, "produceStaffName");
            return (Criteria) this;
        }

        public Criteria andProduceStaffNameGreaterThan(String value) {
            addCriterion("produceStaffName >", value, "produceStaffName");
            return (Criteria) this;
        }

        public Criteria andProduceStaffNameGreaterThanOrEqualTo(String value) {
            addCriterion("produceStaffName >=", value, "produceStaffName");
            return (Criteria) this;
        }

        public Criteria andProduceStaffNameLessThan(String value) {
            addCriterion("produceStaffName <", value, "produceStaffName");
            return (Criteria) this;
        }

        public Criteria andProduceStaffNameLessThanOrEqualTo(String value) {
            addCriterion("produceStaffName <=", value, "produceStaffName");
            return (Criteria) this;
        }

        public Criteria andProduceStaffNameLike(String value) {
            addCriterion("produceStaffName like", value, "produceStaffName");
            return (Criteria) this;
        }

        public Criteria andProduceStaffNameNotLike(String value) {
            addCriterion("produceStaffName not like", value, "produceStaffName");
            return (Criteria) this;
        }

        public Criteria andProduceStaffNameIn(List<String> values) {
            addCriterion("produceStaffName in", values, "produceStaffName");
            return (Criteria) this;
        }

        public Criteria andProduceStaffNameNotIn(List<String> values) {
            addCriterion("produceStaffName not in", values, "produceStaffName");
            return (Criteria) this;
        }

        public Criteria andProduceStaffNameBetween(String value1, String value2) {
            addCriterion("produceStaffName between", value1, value2, "produceStaffName");
            return (Criteria) this;
        }

        public Criteria andProduceStaffNameNotBetween(String value1, String value2) {
            addCriterion("produceStaffName not between", value1, value2, "produceStaffName");
            return (Criteria) this;
        }

        public Criteria andWorkStaffNameIsNull() {
            addCriterion("workStaffName is null");
            return (Criteria) this;
        }

        public Criteria andWorkStaffNameIsNotNull() {
            addCriterion("workStaffName is not null");
            return (Criteria) this;
        }

        public Criteria andWorkStaffNameEqualTo(String value) {
            addCriterion("workStaffName =", value, "workStaffName");
            return (Criteria) this;
        }

        public Criteria andWorkStaffNameNotEqualTo(String value) {
            addCriterion("workStaffName <>", value, "workStaffName");
            return (Criteria) this;
        }

        public Criteria andWorkStaffNameGreaterThan(String value) {
            addCriterion("workStaffName >", value, "workStaffName");
            return (Criteria) this;
        }

        public Criteria andWorkStaffNameGreaterThanOrEqualTo(String value) {
            addCriterion("workStaffName >=", value, "workStaffName");
            return (Criteria) this;
        }

        public Criteria andWorkStaffNameLessThan(String value) {
            addCriterion("workStaffName <", value, "workStaffName");
            return (Criteria) this;
        }

        public Criteria andWorkStaffNameLessThanOrEqualTo(String value) {
            addCriterion("workStaffName <=", value, "workStaffName");
            return (Criteria) this;
        }

        public Criteria andWorkStaffNameLike(String value) {
            addCriterion("workStaffName like", value, "workStaffName");
            return (Criteria) this;
        }

        public Criteria andWorkStaffNameNotLike(String value) {
            addCriterion("workStaffName not like", value, "workStaffName");
            return (Criteria) this;
        }

        public Criteria andWorkStaffNameIn(List<String> values) {
            addCriterion("workStaffName in", values, "workStaffName");
            return (Criteria) this;
        }

        public Criteria andWorkStaffNameNotIn(List<String> values) {
            addCriterion("workStaffName not in", values, "workStaffName");
            return (Criteria) this;
        }

        public Criteria andWorkStaffNameBetween(String value1, String value2) {
            addCriterion("workStaffName between", value1, value2, "workStaffName");
            return (Criteria) this;
        }

        public Criteria andWorkStaffNameNotBetween(String value1, String value2) {
            addCriterion("workStaffName not between", value1, value2, "workStaffName");
            return (Criteria) this;
        }

        public Criteria andWatchStaffNameIsNull() {
            addCriterion("watchStaffName is null");
            return (Criteria) this;
        }

        public Criteria andWatchStaffNameIsNotNull() {
            addCriterion("watchStaffName is not null");
            return (Criteria) this;
        }

        public Criteria andWatchStaffNameEqualTo(String value) {
            addCriterion("watchStaffName =", value, "watchStaffName");
            return (Criteria) this;
        }

        public Criteria andWatchStaffNameNotEqualTo(String value) {
            addCriterion("watchStaffName <>", value, "watchStaffName");
            return (Criteria) this;
        }

        public Criteria andWatchStaffNameGreaterThan(String value) {
            addCriterion("watchStaffName >", value, "watchStaffName");
            return (Criteria) this;
        }

        public Criteria andWatchStaffNameGreaterThanOrEqualTo(String value) {
            addCriterion("watchStaffName >=", value, "watchStaffName");
            return (Criteria) this;
        }

        public Criteria andWatchStaffNameLessThan(String value) {
            addCriterion("watchStaffName <", value, "watchStaffName");
            return (Criteria) this;
        }

        public Criteria andWatchStaffNameLessThanOrEqualTo(String value) {
            addCriterion("watchStaffName <=", value, "watchStaffName");
            return (Criteria) this;
        }

        public Criteria andWatchStaffNameLike(String value) {
            addCriterion("watchStaffName like", value, "watchStaffName");
            return (Criteria) this;
        }

        public Criteria andWatchStaffNameNotLike(String value) {
            addCriterion("watchStaffName not like", value, "watchStaffName");
            return (Criteria) this;
        }

        public Criteria andWatchStaffNameIn(List<String> values) {
            addCriterion("watchStaffName in", values, "watchStaffName");
            return (Criteria) this;
        }

        public Criteria andWatchStaffNameNotIn(List<String> values) {
            addCriterion("watchStaffName not in", values, "watchStaffName");
            return (Criteria) this;
        }

        public Criteria andWatchStaffNameBetween(String value1, String value2) {
            addCriterion("watchStaffName between", value1, value2, "watchStaffName");
            return (Criteria) this;
        }

        public Criteria andWatchStaffNameNotBetween(String value1, String value2) {
            addCriterion("watchStaffName not between", value1, value2, "watchStaffName");
            return (Criteria) this;
        }

        public Criteria andSamplingTimeIsNull() {
            addCriterion("samplingTime is null");
            return (Criteria) this;
        }

        public Criteria andSamplingTimeIsNotNull() {
            addCriterion("samplingTime is not null");
            return (Criteria) this;
        }

        public Criteria andSamplingTimeEqualTo(String value) {
            addCriterion("samplingTime =", value, "samplingTime");
            return (Criteria) this;
        }

        public Criteria andSamplingTimeNotEqualTo(String value) {
            addCriterion("samplingTime <>", value, "samplingTime");
            return (Criteria) this;
        }

        public Criteria andSamplingTimeGreaterThan(String value) {
            addCriterion("samplingTime >", value, "samplingTime");
            return (Criteria) this;
        }

        public Criteria andSamplingTimeGreaterThanOrEqualTo(String value) {
            addCriterion("samplingTime >=", value, "samplingTime");
            return (Criteria) this;
        }

        public Criteria andSamplingTimeLessThan(String value) {
            addCriterion("samplingTime <", value, "samplingTime");
            return (Criteria) this;
        }

        public Criteria andSamplingTimeLessThanOrEqualTo(String value) {
            addCriterion("samplingTime <=", value, "samplingTime");
            return (Criteria) this;
        }

        public Criteria andSamplingTimeLike(String value) {
            addCriterion("samplingTime like", value, "samplingTime");
            return (Criteria) this;
        }

        public Criteria andSamplingTimeNotLike(String value) {
            addCriterion("samplingTime not like", value, "samplingTime");
            return (Criteria) this;
        }

        public Criteria andSamplingTimeIn(List<String> values) {
            addCriterion("samplingTime in", values, "samplingTime");
            return (Criteria) this;
        }

        public Criteria andSamplingTimeNotIn(List<String> values) {
            addCriterion("samplingTime not in", values, "samplingTime");
            return (Criteria) this;
        }

        public Criteria andSamplingTimeBetween(String value1, String value2) {
            addCriterion("samplingTime between", value1, value2, "samplingTime");
            return (Criteria) this;
        }

        public Criteria andSamplingTimeNotBetween(String value1, String value2) {
            addCriterion("samplingTime not between", value1, value2, "samplingTime");
            return (Criteria) this;
        }

        public Criteria andSamplingPointIsNull() {
            addCriterion("samplingPoint is null");
            return (Criteria) this;
        }

        public Criteria andSamplingPointIsNotNull() {
            addCriterion("samplingPoint is not null");
            return (Criteria) this;
        }

        public Criteria andSamplingPointEqualTo(String value) {
            addCriterion("samplingPoint =", value, "samplingPoint");
            return (Criteria) this;
        }

        public Criteria andSamplingPointNotEqualTo(String value) {
            addCriterion("samplingPoint <>", value, "samplingPoint");
            return (Criteria) this;
        }

        public Criteria andSamplingPointGreaterThan(String value) {
            addCriterion("samplingPoint >", value, "samplingPoint");
            return (Criteria) this;
        }

        public Criteria andSamplingPointGreaterThanOrEqualTo(String value) {
            addCriterion("samplingPoint >=", value, "samplingPoint");
            return (Criteria) this;
        }

        public Criteria andSamplingPointLessThan(String value) {
            addCriterion("samplingPoint <", value, "samplingPoint");
            return (Criteria) this;
        }

        public Criteria andSamplingPointLessThanOrEqualTo(String value) {
            addCriterion("samplingPoint <=", value, "samplingPoint");
            return (Criteria) this;
        }

        public Criteria andSamplingPointLike(String value) {
            addCriterion("samplingPoint like", value, "samplingPoint");
            return (Criteria) this;
        }

        public Criteria andSamplingPointNotLike(String value) {
            addCriterion("samplingPoint not like", value, "samplingPoint");
            return (Criteria) this;
        }

        public Criteria andSamplingPointIn(List<String> values) {
            addCriterion("samplingPoint in", values, "samplingPoint");
            return (Criteria) this;
        }

        public Criteria andSamplingPointNotIn(List<String> values) {
            addCriterion("samplingPoint not in", values, "samplingPoint");
            return (Criteria) this;
        }

        public Criteria andSamplingPointBetween(String value1, String value2) {
            addCriterion("samplingPoint between", value1, value2, "samplingPoint");
            return (Criteria) this;
        }

        public Criteria andSamplingPointNotBetween(String value1, String value2) {
            addCriterion("samplingPoint not between", value1, value2, "samplingPoint");
            return (Criteria) this;
        }

        public Criteria andSamplingUserIdIsNull() {
            addCriterion("samplingUserId is null");
            return (Criteria) this;
        }

        public Criteria andSamplingUserIdIsNotNull() {
            addCriterion("samplingUserId is not null");
            return (Criteria) this;
        }

        public Criteria andSamplingUserIdEqualTo(String value) {
            addCriterion("samplingUserId =", value, "samplingUserId");
            return (Criteria) this;
        }

        public Criteria andSamplingUserIdNotEqualTo(String value) {
            addCriterion("samplingUserId <>", value, "samplingUserId");
            return (Criteria) this;
        }

        public Criteria andSamplingUserIdGreaterThan(String value) {
            addCriterion("samplingUserId >", value, "samplingUserId");
            return (Criteria) this;
        }

        public Criteria andSamplingUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("samplingUserId >=", value, "samplingUserId");
            return (Criteria) this;
        }

        public Criteria andSamplingUserIdLessThan(String value) {
            addCriterion("samplingUserId <", value, "samplingUserId");
            return (Criteria) this;
        }

        public Criteria andSamplingUserIdLessThanOrEqualTo(String value) {
            addCriterion("samplingUserId <=", value, "samplingUserId");
            return (Criteria) this;
        }

        public Criteria andSamplingUserIdLike(String value) {
            addCriterion("samplingUserId like", value, "samplingUserId");
            return (Criteria) this;
        }

        public Criteria andSamplingUserIdNotLike(String value) {
            addCriterion("samplingUserId not like", value, "samplingUserId");
            return (Criteria) this;
        }

        public Criteria andSamplingUserIdIn(List<String> values) {
            addCriterion("samplingUserId in", values, "samplingUserId");
            return (Criteria) this;
        }

        public Criteria andSamplingUserIdNotIn(List<String> values) {
            addCriterion("samplingUserId not in", values, "samplingUserId");
            return (Criteria) this;
        }

        public Criteria andSamplingUserIdBetween(String value1, String value2) {
            addCriterion("samplingUserId between", value1, value2, "samplingUserId");
            return (Criteria) this;
        }

        public Criteria andSamplingUserIdNotBetween(String value1, String value2) {
            addCriterion("samplingUserId not between", value1, value2, "samplingUserId");
            return (Criteria) this;
        }

        public Criteria andSamplingUserNameIsNull() {
            addCriterion("samplingUserName is null");
            return (Criteria) this;
        }

        public Criteria andSamplingUserNameIsNotNull() {
            addCriterion("samplingUserName is not null");
            return (Criteria) this;
        }

        public Criteria andSamplingUserNameEqualTo(String value) {
            addCriterion("samplingUserName =", value, "samplingUserName");
            return (Criteria) this;
        }

        public Criteria andSamplingUserNameNotEqualTo(String value) {
            addCriterion("samplingUserName <>", value, "samplingUserName");
            return (Criteria) this;
        }

        public Criteria andSamplingUserNameGreaterThan(String value) {
            addCriterion("samplingUserName >", value, "samplingUserName");
            return (Criteria) this;
        }

        public Criteria andSamplingUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("samplingUserName >=", value, "samplingUserName");
            return (Criteria) this;
        }

        public Criteria andSamplingUserNameLessThan(String value) {
            addCriterion("samplingUserName <", value, "samplingUserName");
            return (Criteria) this;
        }

        public Criteria andSamplingUserNameLessThanOrEqualTo(String value) {
            addCriterion("samplingUserName <=", value, "samplingUserName");
            return (Criteria) this;
        }

        public Criteria andSamplingUserNameLike(String value) {
            addCriterion("samplingUserName like", value, "samplingUserName");
            return (Criteria) this;
        }

        public Criteria andSamplingUserNameNotLike(String value) {
            addCriterion("samplingUserName not like", value, "samplingUserName");
            return (Criteria) this;
        }

        public Criteria andSamplingUserNameIn(List<String> values) {
            addCriterion("samplingUserName in", values, "samplingUserName");
            return (Criteria) this;
        }

        public Criteria andSamplingUserNameNotIn(List<String> values) {
            addCriterion("samplingUserName not in", values, "samplingUserName");
            return (Criteria) this;
        }

        public Criteria andSamplingUserNameBetween(String value1, String value2) {
            addCriterion("samplingUserName between", value1, value2, "samplingUserName");
            return (Criteria) this;
        }

        public Criteria andSamplingUserNameNotBetween(String value1, String value2) {
            addCriterion("samplingUserName not between", value1, value2, "samplingUserName");
            return (Criteria) this;
        }

        public Criteria andOxygenContentIsNull() {
            addCriterion("oxygenContent is null");
            return (Criteria) this;
        }

        public Criteria andOxygenContentIsNotNull() {
            addCriterion("oxygenContent is not null");
            return (Criteria) this;
        }

        public Criteria andOxygenContentEqualTo(String value) {
            addCriterion("oxygenContent =", value, "oxygenContent");
            return (Criteria) this;
        }

        public Criteria andOxygenContentNotEqualTo(String value) {
            addCriterion("oxygenContent <>", value, "oxygenContent");
            return (Criteria) this;
        }

        public Criteria andOxygenContentGreaterThan(String value) {
            addCriterion("oxygenContent >", value, "oxygenContent");
            return (Criteria) this;
        }

        public Criteria andOxygenContentGreaterThanOrEqualTo(String value) {
            addCriterion("oxygenContent >=", value, "oxygenContent");
            return (Criteria) this;
        }

        public Criteria andOxygenContentLessThan(String value) {
            addCriterion("oxygenContent <", value, "oxygenContent");
            return (Criteria) this;
        }

        public Criteria andOxygenContentLessThanOrEqualTo(String value) {
            addCriterion("oxygenContent <=", value, "oxygenContent");
            return (Criteria) this;
        }

        public Criteria andOxygenContentLike(String value) {
            addCriterion("oxygenContent like", value, "oxygenContent");
            return (Criteria) this;
        }

        public Criteria andOxygenContentNotLike(String value) {
            addCriterion("oxygenContent not like", value, "oxygenContent");
            return (Criteria) this;
        }

        public Criteria andOxygenContentIn(List<String> values) {
            addCriterion("oxygenContent in", values, "oxygenContent");
            return (Criteria) this;
        }

        public Criteria andOxygenContentNotIn(List<String> values) {
            addCriterion("oxygenContent not in", values, "oxygenContent");
            return (Criteria) this;
        }

        public Criteria andOxygenContentBetween(String value1, String value2) {
            addCriterion("oxygenContent between", value1, value2, "oxygenContent");
            return (Criteria) this;
        }

        public Criteria andOxygenContentNotBetween(String value1, String value2) {
            addCriterion("oxygenContent not between", value1, value2, "oxygenContent");
            return (Criteria) this;
        }

        public Criteria andFlammableGasIsNull() {
            addCriterion("flammableGas is null");
            return (Criteria) this;
        }

        public Criteria andFlammableGasIsNotNull() {
            addCriterion("flammableGas is not null");
            return (Criteria) this;
        }

        public Criteria andFlammableGasEqualTo(String value) {
            addCriterion("flammableGas =", value, "flammableGas");
            return (Criteria) this;
        }

        public Criteria andFlammableGasNotEqualTo(String value) {
            addCriterion("flammableGas <>", value, "flammableGas");
            return (Criteria) this;
        }

        public Criteria andFlammableGasGreaterThan(String value) {
            addCriterion("flammableGas >", value, "flammableGas");
            return (Criteria) this;
        }

        public Criteria andFlammableGasGreaterThanOrEqualTo(String value) {
            addCriterion("flammableGas >=", value, "flammableGas");
            return (Criteria) this;
        }

        public Criteria andFlammableGasLessThan(String value) {
            addCriterion("flammableGas <", value, "flammableGas");
            return (Criteria) this;
        }

        public Criteria andFlammableGasLessThanOrEqualTo(String value) {
            addCriterion("flammableGas <=", value, "flammableGas");
            return (Criteria) this;
        }

        public Criteria andFlammableGasLike(String value) {
            addCriterion("flammableGas like", value, "flammableGas");
            return (Criteria) this;
        }

        public Criteria andFlammableGasNotLike(String value) {
            addCriterion("flammableGas not like", value, "flammableGas");
            return (Criteria) this;
        }

        public Criteria andFlammableGasIn(List<String> values) {
            addCriterion("flammableGas in", values, "flammableGas");
            return (Criteria) this;
        }

        public Criteria andFlammableGasNotIn(List<String> values) {
            addCriterion("flammableGas not in", values, "flammableGas");
            return (Criteria) this;
        }

        public Criteria andFlammableGasBetween(String value1, String value2) {
            addCriterion("flammableGas between", value1, value2, "flammableGas");
            return (Criteria) this;
        }

        public Criteria andFlammableGasNotBetween(String value1, String value2) {
            addCriterion("flammableGas not between", value1, value2, "flammableGas");
            return (Criteria) this;
        }

        public Criteria andToxicGasIsNull() {
            addCriterion("toxicGas is null");
            return (Criteria) this;
        }

        public Criteria andToxicGasIsNotNull() {
            addCriterion("toxicGas is not null");
            return (Criteria) this;
        }

        public Criteria andToxicGasEqualTo(String value) {
            addCriterion("toxicGas =", value, "toxicGas");
            return (Criteria) this;
        }

        public Criteria andToxicGasNotEqualTo(String value) {
            addCriterion("toxicGas <>", value, "toxicGas");
            return (Criteria) this;
        }

        public Criteria andToxicGasGreaterThan(String value) {
            addCriterion("toxicGas >", value, "toxicGas");
            return (Criteria) this;
        }

        public Criteria andToxicGasGreaterThanOrEqualTo(String value) {
            addCriterion("toxicGas >=", value, "toxicGas");
            return (Criteria) this;
        }

        public Criteria andToxicGasLessThan(String value) {
            addCriterion("toxicGas <", value, "toxicGas");
            return (Criteria) this;
        }

        public Criteria andToxicGasLessThanOrEqualTo(String value) {
            addCriterion("toxicGas <=", value, "toxicGas");
            return (Criteria) this;
        }

        public Criteria andToxicGasLike(String value) {
            addCriterion("toxicGas like", value, "toxicGas");
            return (Criteria) this;
        }

        public Criteria andToxicGasNotLike(String value) {
            addCriterion("toxicGas not like", value, "toxicGas");
            return (Criteria) this;
        }

        public Criteria andToxicGasIn(List<String> values) {
            addCriterion("toxicGas in", values, "toxicGas");
            return (Criteria) this;
        }

        public Criteria andToxicGasNotIn(List<String> values) {
            addCriterion("toxicGas not in", values, "toxicGas");
            return (Criteria) this;
        }

        public Criteria andToxicGasBetween(String value1, String value2) {
            addCriterion("toxicGas between", value1, value2, "toxicGas");
            return (Criteria) this;
        }

        public Criteria andToxicGasNotBetween(String value1, String value2) {
            addCriterion("toxicGas not between", value1, value2, "toxicGas");
            return (Criteria) this;
        }

        public Criteria andDangerTypeIdsIsNull() {
            addCriterion("dangerTypeIds is null");
            return (Criteria) this;
        }

        public Criteria andDangerTypeIdsIsNotNull() {
            addCriterion("dangerTypeIds is not null");
            return (Criteria) this;
        }

        public Criteria andDangerTypeIdsEqualTo(String value) {
            addCriterion("dangerTypeIds =", value, "dangerTypeIds");
            return (Criteria) this;
        }

        public Criteria andDangerTypeIdsNotEqualTo(String value) {
            addCriterion("dangerTypeIds <>", value, "dangerTypeIds");
            return (Criteria) this;
        }

        public Criteria andDangerTypeIdsGreaterThan(String value) {
            addCriterion("dangerTypeIds >", value, "dangerTypeIds");
            return (Criteria) this;
        }

        public Criteria andDangerTypeIdsGreaterThanOrEqualTo(String value) {
            addCriterion("dangerTypeIds >=", value, "dangerTypeIds");
            return (Criteria) this;
        }

        public Criteria andDangerTypeIdsLessThan(String value) {
            addCriterion("dangerTypeIds <", value, "dangerTypeIds");
            return (Criteria) this;
        }

        public Criteria andDangerTypeIdsLessThanOrEqualTo(String value) {
            addCriterion("dangerTypeIds <=", value, "dangerTypeIds");
            return (Criteria) this;
        }

        public Criteria andDangerTypeIdsLike(String value) {
            addCriterion("dangerTypeIds like", value, "dangerTypeIds");
            return (Criteria) this;
        }

        public Criteria andDangerTypeIdsNotLike(String value) {
            addCriterion("dangerTypeIds not like", value, "dangerTypeIds");
            return (Criteria) this;
        }

        public Criteria andDangerTypeIdsIn(List<String> values) {
            addCriterion("dangerTypeIds in", values, "dangerTypeIds");
            return (Criteria) this;
        }

        public Criteria andDangerTypeIdsNotIn(List<String> values) {
            addCriterion("dangerTypeIds not in", values, "dangerTypeIds");
            return (Criteria) this;
        }

        public Criteria andDangerTypeIdsBetween(String value1, String value2) {
            addCriterion("dangerTypeIds between", value1, value2, "dangerTypeIds");
            return (Criteria) this;
        }

        public Criteria andDangerTypeIdsNotBetween(String value1, String value2) {
            addCriterion("dangerTypeIds not between", value1, value2, "dangerTypeIds");
            return (Criteria) this;
        }

        public Criteria andDangerTypeNamesIsNull() {
            addCriterion("dangerTypeNames is null");
            return (Criteria) this;
        }

        public Criteria andDangerTypeNamesIsNotNull() {
            addCriterion("dangerTypeNames is not null");
            return (Criteria) this;
        }

        public Criteria andDangerTypeNamesEqualTo(String value) {
            addCriterion("dangerTypeNames =", value, "dangerTypeNames");
            return (Criteria) this;
        }

        public Criteria andDangerTypeNamesNotEqualTo(String value) {
            addCriterion("dangerTypeNames <>", value, "dangerTypeNames");
            return (Criteria) this;
        }

        public Criteria andDangerTypeNamesGreaterThan(String value) {
            addCriterion("dangerTypeNames >", value, "dangerTypeNames");
            return (Criteria) this;
        }

        public Criteria andDangerTypeNamesGreaterThanOrEqualTo(String value) {
            addCriterion("dangerTypeNames >=", value, "dangerTypeNames");
            return (Criteria) this;
        }

        public Criteria andDangerTypeNamesLessThan(String value) {
            addCriterion("dangerTypeNames <", value, "dangerTypeNames");
            return (Criteria) this;
        }

        public Criteria andDangerTypeNamesLessThanOrEqualTo(String value) {
            addCriterion("dangerTypeNames <=", value, "dangerTypeNames");
            return (Criteria) this;
        }

        public Criteria andDangerTypeNamesLike(String value) {
            addCriterion("dangerTypeNames like", value, "dangerTypeNames");
            return (Criteria) this;
        }

        public Criteria andDangerTypeNamesNotLike(String value) {
            addCriterion("dangerTypeNames not like", value, "dangerTypeNames");
            return (Criteria) this;
        }

        public Criteria andDangerTypeNamesIn(List<String> values) {
            addCriterion("dangerTypeNames in", values, "dangerTypeNames");
            return (Criteria) this;
        }

        public Criteria andDangerTypeNamesNotIn(List<String> values) {
            addCriterion("dangerTypeNames not in", values, "dangerTypeNames");
            return (Criteria) this;
        }

        public Criteria andDangerTypeNamesBetween(String value1, String value2) {
            addCriterion("dangerTypeNames between", value1, value2, "dangerTypeNames");
            return (Criteria) this;
        }

        public Criteria andDangerTypeNamesNotBetween(String value1, String value2) {
            addCriterion("dangerTypeNames not between", value1, value2, "dangerTypeNames");
            return (Criteria) this;
        }

        public Criteria andPlanStartTimeIsNull() {
            addCriterion("planStartTime is null");
            return (Criteria) this;
        }

        public Criteria andPlanStartTimeIsNotNull() {
            addCriterion("planStartTime is not null");
            return (Criteria) this;
        }

        public Criteria andPlanStartTimeEqualTo(String value) {
            addCriterion("planStartTime =", value, "planStartTime");
            return (Criteria) this;
        }

        public Criteria andPlanStartTimeNotEqualTo(String value) {
            addCriterion("planStartTime <>", value, "planStartTime");
            return (Criteria) this;
        }

        public Criteria andPlanStartTimeGreaterThan(String value) {
            addCriterion("planStartTime >", value, "planStartTime");
            return (Criteria) this;
        }

        public Criteria andPlanStartTimeGreaterThanOrEqualTo(String value) {
            addCriterion("planStartTime >=", value, "planStartTime");
            return (Criteria) this;
        }

        public Criteria andPlanStartTimeLessThan(String value) {
            addCriterion("planStartTime <", value, "planStartTime");
            return (Criteria) this;
        }

        public Criteria andPlanStartTimeLessThanOrEqualTo(String value) {
            addCriterion("planStartTime <=", value, "planStartTime");
            return (Criteria) this;
        }

        public Criteria andPlanStartTimeLike(String value) {
            addCriterion("planStartTime like", value, "planStartTime");
            return (Criteria) this;
        }

        public Criteria andPlanStartTimeNotLike(String value) {
            addCriterion("planStartTime not like", value, "planStartTime");
            return (Criteria) this;
        }

        public Criteria andPlanStartTimeIn(List<String> values) {
            addCriterion("planStartTime in", values, "planStartTime");
            return (Criteria) this;
        }

        public Criteria andPlanStartTimeNotIn(List<String> values) {
            addCriterion("planStartTime not in", values, "planStartTime");
            return (Criteria) this;
        }

        public Criteria andPlanStartTimeBetween(String value1, String value2) {
            addCriterion("planStartTime between", value1, value2, "planStartTime");
            return (Criteria) this;
        }

        public Criteria andPlanStartTimeNotBetween(String value1, String value2) {
            addCriterion("planStartTime not between", value1, value2, "planStartTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeIsNull() {
            addCriterion("planEndTime is null");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeIsNotNull() {
            addCriterion("planEndTime is not null");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeEqualTo(String value) {
            addCriterion("planEndTime =", value, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeNotEqualTo(String value) {
            addCriterion("planEndTime <>", value, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeGreaterThan(String value) {
            addCriterion("planEndTime >", value, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeGreaterThanOrEqualTo(String value) {
            addCriterion("planEndTime >=", value, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeLessThan(String value) {
            addCriterion("planEndTime <", value, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeLessThanOrEqualTo(String value) {
            addCriterion("planEndTime <=", value, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeLike(String value) {
            addCriterion("planEndTime like", value, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeNotLike(String value) {
            addCriterion("planEndTime not like", value, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeIn(List<String> values) {
            addCriterion("planEndTime in", values, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeNotIn(List<String> values) {
            addCriterion("planEndTime not in", values, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeBetween(String value1, String value2) {
            addCriterion("planEndTime between", value1, value2, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeNotBetween(String value1, String value2) {
            addCriterion("planEndTime not between", value1, value2, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andAuditStateIsNull() {
            addCriterion("auditState is null");
            return (Criteria) this;
        }

        public Criteria andAuditStateIsNotNull() {
            addCriterion("auditState is not null");
            return (Criteria) this;
        }

        public Criteria andAuditStateEqualTo(Integer value) {
            addCriterion("auditState =", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateNotEqualTo(Integer value) {
            addCriterion("auditState <>", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateGreaterThan(Integer value) {
            addCriterion("auditState >", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("auditState >=", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateLessThan(Integer value) {
            addCriterion("auditState <", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateLessThanOrEqualTo(Integer value) {
            addCriterion("auditState <=", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateIn(List<Integer> values) {
            addCriterion("auditState in", values, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateNotIn(List<Integer> values) {
            addCriterion("auditState not in", values, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateBetween(Integer value1, Integer value2) {
            addCriterion("auditState between", value1, value2, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateNotBetween(Integer value1, Integer value2) {
            addCriterion("auditState not between", value1, value2, "auditState");
            return (Criteria) this;
        }
    }

    /**
     * 作业许可_进入受限空间作业许可证表HSE_WL_LIMITLICENSE的映射实体
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * 作业许可_进入受限空间作业许可证表HSE_WL_LIMITLICENSE的动态SQL对象.
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}